package com.cfl.ticketmodule.dao;

import java.util.ArrayList;
import org.apache.ibatis.annotations.Param;
import com.cfl.model.TicketNumber;

public interface TicketNumberMapper {
    int insert(TicketNumber record);

    int insertSelective(TicketNumber record);

    TicketNumber selectByPrimaryKey(Integer id);
    
    ArrayList<TicketNumber> selectAll();
    
    TicketNumber selectByNumber(@Param("number") String numString);
    
    TicketNumber selectByTid(@Param("tid")String tid);
}